<?php
  /***************************************************************
   * @file: config.php
   * @author: Neo
   * @mail: xq262144@gmail.com
   * @date: 
   * @description:
   * this file stores the information of the framework's settings
   ***************************************************************/     
   
  if (!defined('SYS_BASEPATH')) { echo "No Script Direct Access Allowed!"; header("HTTP/1.0 404 Not Found"); } 

  define('SYS_BASE_URL', 'http://' . $_SERVER['HTTP_HOST'] .'/' . basename(realpath(dirname(__FILE__) . '/../..')));
  define('SYS_CSS', SYS_BASE_URL . '/css');
  define('SYS_JS', SYS_BASE_URL . '/js');
  define('SYS_SWF', SYS_BASE_URL . '/swf');
  define('SYS_IMAGE', SYS_BASE_URL . '/images');
  define('SYS_LOGIN_PAGE', SYS_BASE_URL . '/user/login');
  define('SYS_LOGIN_HOME', SYS_BASE_URL);
